notebook: Refactor internal function
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Sep 2015 10:11:09 +0000 (12:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Oct 2015 14:42:48 +0000 (16:42 +0200)
commitacd63a6019a126c843abe7f6e41f8b5ae8618c33
tree003e9832ac17e79031216d3b01d064b54454527c
parent7b9844288a4b5eae8150325a59f547d51a4b9b3d
notebook: Refactor internal function

Don't return the state anymore as the function doesn't even look at the
state. Instead, make the callers that need the state query it manually.
gtk/gtknotebook.c